import {BasicColumn} from '/@/components/Table';
import {FormSchema} from '/@/components/Table';
import { rules} from '/@/utils/helper/validator';
import { render } from '/@/utils/common/renderUtils';
import { getWeekMonthQuarterYear } from '/@/utils';
//列表数据
export const columns: BasicColumn[] = [
  {
    title: '卡类型',
    align: "center",
    dataIndex: 'cardType'
  },
  {
    title: '卡号',
    align: "center",
    dataIndex: 'cardId'
  },
  {
    title: '用户id',
    align: "center",
    dataIndex: 'sysUserId'
  },
  {
    title: '用户名',
    align: "center",
    dataIndex: 'name'
  },
  {
    title: '备注',
    align: "center",
    dataIndex: 'description'
  },
  {
    title: '逻辑删除',
    align: "center",
    dataIndex: 'isDeleted'
  },
];

// 高级查询数据
export const superQuerySchema = {
  cardType: {title: '卡类型',order: 0,view: 'text', type: 'string',},
  cardId: {title: '卡号',order: 1,view: 'text', type: 'string',},
  sysUserId: {title: '用户id',order: 2,view: 'text', type: 'string',},
  name: {title: '用户名',order: 3,view: 'text', type: 'string',},
  description: {title: '备注',order: 4,view: 'text', type: 'string',},
  isDeleted: {title: '逻辑删除',order: 5,view: 'number', type: 'number',},
};
